<?php

namespace app\api\validate;

use app\common\lib\Str;
use think\Validate;

class UserAssociation extends Validate
{
    protected $rule = [
        'name' => 'require',
        'position' => 'require',
        'business_license' => 'require',
    ];

    protected $message = [
        'name' => '企业名称必须',
        'position' => '担任职务必须',
        'business_license' => '营业执照必须',
    ];

    protected $scene = [
        'update'=> ['name','position','business_license'],
    ];
}